package com.xiao.xin.core.service;

import com.xiao.xin.core.domain.ComfyuiTask;

public interface RedisService {

   ComfyuiTask addQueueTask(ComfyuiTask comfyuiTask);


   ComfyuiTask popQueueTask();

   void addStartedTask(String promptId,ComfyuiTask task);

   ComfyuiTask getStartedTask(String promptId);

   boolean hasQueueTask();
}
